package com.xr.sunnyday.service;

import com.xr.sunnyday.entity.PageResult;
import com.xr.sunnyday.entity.QueryPageBean;
import com.xr.sunnyday.pojo.CheckGroup;

import java.util.List;

public interface CheckGroupService {
    PageResult findByCondition(QueryPageBean queryPageBean);

    void add(CheckGroup checkGroup, Integer[] checkitemIds);

    List<Integer> findCheckItemIdByCheckGroupId(int checkGroupId);

    void update(CheckGroup checkGroup, Integer[] checkitemIds);

    CheckGroup findByCheckGroupId(int checkGroupId);

    void deleteById(int id);

    List<CheckGroup> queryAll();
}
